how to solve place a dot at the end of the car's path